package com.y.fund.aacore.abs;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.persistence.Column;
import jakarta.persistence.MappedSuperclass;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@MappedSuperclass
public abstract class OperObj extends TimeObj {

	@Schema(title = "数据创建者用户ID", hidden = true)
	@Column(name = "creator_id", length=64, updatable = false)
	protected String creatorId;

	@Schema(title = "数据创建者用户姓名", hidden = true)
	@Column(name = "creator_name", length=256)
	protected String creatorName;

	@Schema(title = "最后编辑者用户ID", hidden = true)
	@Column(name = "editor_id", length=64)
	protected String editorId;

	@Schema(title = "最后编辑者用户姓名", hidden = true)
	@Column(name = "editor_name", length=256)
	protected String editorName;

}
